﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.VehicleSuiteBusinessTemplate;
using BCEntity.TMS.VehicleSuiteBusinessTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class VehicleSuiteBusinessTemplateProfile : Profile
    {
        public VehicleSuiteBusinessTemplateProfile()
        {

            //车辆套餐业务模板
            CreateMap<VehicleSuiteBusinessTemplateDto, VehicleSuiteBusinessTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessTemplateRequestDto, VehicleSuiteBusinessTemplatePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessTemplateRequestDto, VehicleSuiteBusinessTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessTemplatePutDto, VehicleSuiteBusinessTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessTemplateEntity, VehicleSuiteBusinessTemplateDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}